package com.kaikai.eduorder.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import vo.EduCourseOrder;
@FeignClient(name = "service-edu")
@Component
public interface CourseClient {
    //通过课程id获取课程信息
    @GetMapping("/eduservice/frontCourse/getDto/{courseId}")
    public EduCourseOrder getDto(@PathVariable("courseId") String courseId);
}
